<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?php echo $template['title']; ?></title>
        <?php echo $template['header']; ?>
        <!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" href="http://localhost/magento/skin/adminhtml/default/default/iestyles.css" media="all" />
        <![endif]-->
        <!--[if lt IE 7]>
        <link rel="stylesheet" type="text/css" href="http://localhost/magento/skin/adminhtml/default/default/below_ie7.css" media="all" />
        <script type="text/javascript" src="http://localhost/magento/js/lib/ds-sleight.js" defer></script>
        <script type="text/javascript" src="http://localhost/magento/js/varien/iehover-fix.js"></script>
        <![endif]-->
        <!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href="http://localhost/magento/skin/adminhtml/default/default/ie7.css" media="all" />
        <![endif]-->
    </head>
    <body id="store-body">
        <div class="overal">
            <noscript>
                <div class="noscript">
                    <div class="content">
                        <p><strong>JavaScript seems to be disabled in your browser.</strong></p>
                        <p>Please enable javascript browser to use the functionality of website.</p>
                    </div>
                </div>
            </noscript>
            <div class="header">
                <div class="clear"></div>
                <div id="menu" class="navigation-store">
                    <!-- menu start -->
                    <?php echo $template['navigator']; ?>
                    <!-- menu end -->
                </div>
            </div>

            <div class="info-log">
                <p class="info">
                    Logged in as millionairetai<span class="separator">|</span><a href="#">Log Out</a>
                </p>
            </div>

            <div class="container">
                <div id="main-container">
                    <div id="messages"></div>
                    <div class="header-title">
                        <table cellspacing="0">
                            <tbody>
                                <tr>
                                    <?php foreach($template['breadcrumbs'] as $value): ?>
                                        <?php if($value['uri']):  ?>
                                            <td><h3><a href="<?= $value['uri'] ?>"><?= $value['name'] ?></a> ></h3></td>
                                        <?php else:  ?>
                                            <td><h3><?= $value['name'] ?></h3></td>
                                        <?php endif; ?>
                                    <?php endforeach; ?>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="main-content">
                        <?php echo $template['body']; ?>
                    </div>
                </div>
            </div>
            <div class="footer">
                Tut 2013
            </div>
        </div>
        <input type="hidden" id="token_name" name="token_value" value="<?php echo $template['token']['name']; ?>" />
        <input type="hidden" id="token_value" name="token_value" value="<?php echo $template['token']['value']; ?>" />
        <code class="hidden" id="phrase_js"><!-- <?php echo $template['language_phrase']; ?> --></code>
    </body>
</html>